<template>
    	<div class="mui-numbox" data-numbox-min='1' data-numbox-max='max' style="height:25px;">
            <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
            <input id="test" class="mui-input-numbox" type="number" @change="changeCount()" ref="numbox" value="1"/>
            <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
        </div>
</template>

<script>
//导入mui-js文件
import mui from '../../lib/mui/js/mui.min.js';
export default {
    mounted(){
        mui(".mui-numbox").numbox();
    },
    methods:{
        changeCount(){
           
        },
        add(){
            this.$store.commit('increament');
        },
        reduce(){
            this.$store.commit('inreduce');
        }
    }
}
</script>

<style>

</style>
